<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport"
        content="width=device-width,initial-scale=1.0,viewport-fit=cover,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
    <title>尤迈桃李会</title>
    <script src="js/rem.js"></script>
    <link rel="stylesheet" href="https://g.alicdn.com/de/prismplayer/2.8.2/skins/default/aliplayer-min.css" />
    <link rel="stylesheet" href="css/weui.min.css">
    <link rel="stylesheet" href="css/jquery-weui.min.css">
    <link rel="stylesheet" href="css/public.css">
    <link rel="stylesheet" href="css/ot-doctor-detail.css">
    <script>(function () { var _53code = document.createElement("script"); _53code.src = "https://tb.53kf.com/code/code/96d8f960b261e49515450f8953b044bc5/1"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(_53code, s); })();</script>
</head>

<body>
    <div class="pub_bar" title="尤迈桃李会" left="back" right="menu"></div>
    <!--  -->
    <div class="pub-container has-tabbar bgwhite">
        <div class="doctorInfo">
        </div>
        <!-- 评论 -->
        <div class="comment_cont">
            <div class="comment_title">
                <p><span>20</span>条评论</p>
                <img class="comment_close" src="./image/bar-close.png" alt="">
            </div>
            <div class="comment_list">
                <div class="comment_item">
                    <div class="comment_head"><img src="" alt=""></div>
                    <div class="comment_text">
                        <p class="comment_name text-cut-one">名字名字名字</p>
                        <p class="comment_msg">评论评论评论评论评论评论评论评论评论评论评论评论</p>
                    </div>
                    <div class="comment_live">21</div>
                </div>
                <div class="comment_item">
                    <div class="comment_head"><img src="" alt=""></div>
                    <div class="comment_text">
                        <p class="comment_name text-cut-one">名字名字名字</p>
                        <p class="comment_msg">评论评论评论评论评论评论评论评论评论评论评论评论</p>
                    </div>
                    <div class="comment_live">21</div>
                </div>
                <div class="comment_item">
                    <div class="comment_head"><img src="" alt=""></div>
                    <div class="comment_text">
                        <p class="comment_name text-cut-one">名字名字名字</p>
                        <p class="comment_msg">评论评论评论评论评论评论评论评论评论评论评论评论</p>
                    </div>
                    <div class="comment_live">21</div>
                </div>
            </div>
            <div class="mycomment">
                <div class="mycomment_cont">
                    <div class="mycomment_head"><img src="" alt=""></div>
                    <div class="mycomment_msg"><input type="text" placeholder="请输入评论……"></div>
                </div>
                <div class="mycomment_send">发送</div>
            </div>
        </div>
    </div>
    <!-- 公共footer -->
    <div class="pub-footer">
        <ul class="tabs">
            <li class="tab-classroom"><a href="./ot-classroom-index.html">首页</a></li>
            <li class="tab-doctor active"><a href="./ot-doctor-index.html">名医</a></li>
            <li class="tab-curriculum"><a href="./ot-curriculum-index.html">课程</a></li>
            <li class="tab-forum"><a href="#">讲堂</a></li>
            <li class="tab-consultation"><a href="#">会诊</a></li>
            <li class="tab-user"><a href="javascript:;">我的</a></li>
        </ul>
    </div>
    <script src="https://g.alicdn.com/de/prismplayer/2.9.3/aliplayer-h5-min.js"></script>
    <script src="js/jquery-3.6.0.min.js"></script>
    <script src="js/jquery-weui.min.js"></script>
    <script src="js/md5.js"></script>
    <script src="js/public.js"></script>
    <script>
        let id = getQueryString('id')
        let doctor = getQueryString('doctor')
        gethttp('/ld/doctor', {
            data: {
                id: id
            },
            success: function (res) {
                console.log(res)
                let data = res.data.doctor
                $(".doctorInfo").html(`<img class="doctorInfo_img" src="${data.imageUrl}" alt="">
                                            <div class="doctorInfo_cont plr15">
                                                <div class="doctorInfo_left">
                                                    <div class="doctorInfo_text">
                                                        <p class="doctorInfo_p1">
                                                            <span>${data.name}</span>
                                                            <span>${data.competent.name}</span>
                                                        </p>
                                                        <p class="doctorInfo_p2 text-cut-three">${data.desciption}</p>
                                                        <div class="doctorInfo_btn">
                                                            <a href="./ot-doctor-relevant.html?id=${data.id}">
                                                                <div>医生相关 <img src="./image/hxl/hxl-doctor05.png" alt=""></div>
                                                            </a>
                                                            <a href="./ot-doctor-relevant.html?id=${data.id}">
                                                                <div class="active">开始听课 <img src="./image/hxl/hxl-doctor06.png" alt=""></div>
                                                            </a>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="doctorInfo_right">
                                                    <div class="thumbs active">
                                                        <p>${data.likeTimesUi}</p>
                                                    </div>
                                                    <div class="comment">
                                                        <p>${data.messageCountUi}</p>
                                                    </div>
                                                </div>
                                            </div>`)
            }
        })
    </script>
</body>

</html>